/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class SumUnitEnum extends IntEnum
{
    public static final int DAY_VALUE = 1;
    public static final int HOUR_VALUE = 2;

    public static final SumUnitEnum DAY = new SumUnitEnum("DAY", DAY_VALUE);
    public static final SumUnitEnum HOUR = new SumUnitEnum("HOUR", HOUR_VALUE);

    /**
     * construct function
     * @param integer sumUnitEnum
     */
    private SumUnitEnum(String name, int sumUnitEnum)
    {
        super(name, sumUnitEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SumUnitEnum getEnum(String sumUnitEnum)
    {
        return (SumUnitEnum)getEnum(SumUnitEnum.class, sumUnitEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static SumUnitEnum getEnum(int sumUnitEnum)
    {
        return (SumUnitEnum)getEnum(SumUnitEnum.class, sumUnitEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SumUnitEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SumUnitEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SumUnitEnum.class);
    }
}